package spbgpu.ftf.av.ball;

import java.awt.Graphics;

public class Oval {
	private int x, y, rad1;

	public Oval(int x, int y, int rad1) {
		this.x = x;
		this.y = y;
		this.rad1 = rad1;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getRad1() {
		return rad1;
	}

	public void setRad1(int rad1) {
		this.rad1 = rad1;
	}


	public void paintMs(Graphics g) {
		g.drawOval(x, y, rad1, rad1);
	}

}
